a0cb47169e7c448225f956d45fea5466e6c2a1ae,framework/oryx-ml/src/test/java/com/cloudera/oryx/ml/param/HyperParamsTest.java,HyperParamsTest,testConfig,#,156
Before Change
1, Collections.singletonList(2.7));
doTest((HyperParamValues<Integer>) HyperParams.fromConfig(config, "c"),
2, Arrays.asList(3, 4));
doTest((HyperParamValues<Double>) HyperParams.fromConfig(config, "d"),
2, Arrays.asList(5.3, 6.6));
}
After Change
doTest(HyperParams.fromConfig(config, "a"), 1, Collections.singletonList(1));
doTest(HyperParams.fromConfig(config, "b"), 1, Collections.singletonList(2.7));
doTest(HyperParams.fromConfig(config, "c"), 2, Arrays.asList(3, 4));
doTest(HyperParams.fromConfig(config, "d"), 2, Arrays.asList(5.3, 6.6));
}
@Test